package com.zn.opit.shirodemo.controller;

import com.zn.opit.shirodemo.domain.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "哈喽")
@RestController
public class HelloController {

    @ApiOperation(value = "说哈喽")
    @GetMapping(value = "/sayHello")
    public R sayHello() {
        return R.ok().setData("hello");
    }
}
